<template>
	<view>
		
	</view>
</template>
<script>
	export default {
		onLaunch: function() {

			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')

			// 隐藏tabBar
			uni.hideTabBar({
				animation: true, // 是否需要动画效果
				success: function() {
					console.log('TabBar has been hidden successfully');
				},
				fail: function(err) {
					console.error('Failed to hide TabBar:', err);
				}
			});
		},
		onLoad: function() {

			uni.hideTabBar({
				animation: true, // 是否需要动画效果
				success: function() {
					console.log('TabBar has been hidden successfully');
				},
				fail: function(err) {
					console.error('Failed to hide TabBar:', err);
				}
			});
		},
		onHide: function() {

			console.log('App Hide')

		},
		methods: {

		}
	}
</script>

<style>
	page {
		background-color: #f6f6f6;
	}

	//第一种
	scroll-view ::-webkit-scrollbar {
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		-webkit-appearance: none;
		background: transparent;
	}

	//第二种
	::-webkit-scrollbar {
		display: none;
	}
</style>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-ui/index.scss";
	@import url('common/main.css');
</style>